.login-form {
  position: absolute;
  right: -400px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: all 5s ease-in-out;
}

.login-form h2 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 20px;
}

.login-form form {
  width: 300px;
  margin: 0 auto;
  padding: 30px;
}

.login-form form label {
  display: block;
  margin-bottom: 10px;
  font-size: 1.2em;
}

.login-form form input {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 5px;
  font-size: 1.2em;
}

.login-form form button {
  display: block;
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 5px;
  background-color: #333;
  color: #fff;
  font-size: 1.2em;
  cursor: pointer;
}

.login-form.active {
  right: 50%;
  opacity: 1;
}

.login-form.inactive {
  top: 100%;
  opacity: 0;
}
